<html>
	<head>
		<title>GPAAMP Manager</title>
		
		<style type="text/css">
			#loading-mask {	position:absolute; left:0; top:0; width:100%; height:100%;	z-index:20000; background-color:white; }
			#loading { position:absolute;	left:43%; top:40%; padding:2px; z-index:20002; height:auto; }
			#loading img { margin-bottom:5px; }
			#loading .loading-indicator{ background:white; color:#555;	font:bold 13px tahoma,arial,helvetica; padding:10px;	margin:0;	text-align:center; height:auto;	}
		</style>
	</head>
		
	<body>	
		<div id="loading-mask"></div>
		<div id="loading">
			<div class="loading-indicator"><img src="../resources/images/gbif.jpg" style="margin-right:8px;" align="absmiddle"/><br/><img src="../resources/images/default/grid/loading.gif" style="margin-right:6px;" align="absmiddle"/><span id="loading-msg">Loading GPAAMP Viewer<br> Manager...</span></div>
		</div>
		
		<link rel="stylesheet" type="text/css" href="../resources/css/ext-all.css" />
    <link rel="stylesheet" type="text/css" href="../resources/css/xtheme-gray.css" />
		<link rel="stylesheet" type="text/css" href="resources/css/style.css" />
    
		<script type="text/javascript" src="../resources/ext/ext-base.js"></script>
 		<script type="text/javascript" src="../resources/ext/ext-all.js"></script>
 		
 		<script src="http://www.openlayers.org/api/2.10/OpenLayers.js"></script>
		<script type="text/javascript" src="../resources/geoext/script/GeoExt.js"></script>
		<script type="text/javascript" src="../config.js"></script>
		
		<script type="text/javascript" src="../resources/js/GBIF.GeoSpatial.AvailableLayersTree.js"></script>
		<script type="text/javascript" src="../resources/ext/ext.ux.datatip.js"></script>
		<script type="text/javascript" src="../resources/ext/GBIF.GeoSpatial.Notice.js"></script>
		
		<script type="text/javascript" src="../resources/ext/CheckboxSelectionModel.js"></script>
		<script type="text/javascript" src="../resources/ext/ext.ux.checkbox.js"></script>
		<script type="text/javascript" src="../resources/js/GBIF.GeoSpatial.GeoMapPanel.js"></script>
		<script type="text/javascript" src="resources/js/wizard/GBIF.GeoSpatial.WFSCapabilitiesGrid.js"></script>        
		<script type="text/javascript" src="resources/js/wizard/GBIF.GeoSpatial.WFSCapabilitiesLayers.js"></script>
		<script type="text/javascript" src="resources/js/wizard/GBIF.GeoSpatial.WMSCapabilitiesGrid.js"></script>
		<script type="text/javascript" src="resources/js/wizard/GBIF.GeoSpatial.WMSCapabilitiesLayers.js"></script>
		<script type="text/javascript" src="resources/js/wizard/GBIF.GeoSpatial.LayerTypes.js"></script>
		<script type="text/javascript" src="resources/js/wizard/GBIF.GeoSpatial.GeoRss.js"></script>
		<script type="text/javascript" src="resources/js/wizard/GBIF.GeoSpatial.KML.js"></script>
		<script type="text/javascript" src="resources/js/wizard/GBIF.GeoSpatial.Information.js"></script>
		<script type="text/javascript" src="resources/js/wizard/GBIF.GeoSpatial.WMSFeatureGrid.js"></script>
		<script type="text/javascript" src="resources/js/wizard/GBIF.GeoSpatial.FeatureInfo.js"></script>
		<script type="text/javascript" src="resources/js/wizard/GBIF.GeoSpatial.FeatureTabManager.js"></script>
		<script type="text/javascript" src="resources/js/wizard/GBIF.GeoSpatial.QurableLayerTree.js"></script>
		<script type="text/javascript" src="resources/js/wizard/GBIF.GeoSpatial.FeaturePanel.js"></script>
        
		<script type="text/javascript" src="resources/js/wizard/GBIF.GeoSpatial.WizardPanel.js"></script>
		<script type="text/javascript" src="resources/js/GBIF.GeoSpatial.LayerTree.js"></script>
		<script type="text/javascript" src="resources/js/GBIF.GeoSpatial.LayerConfig.js"></script>
		<!--script type="text/javascript" src="resources/js/GBIF.GeoSpatial.ConfigForm.js"></script-->
		<script type="text/javascript" src="resources/js/tabmanager.js"></script>
		<script type="text/javascript" src="resources/js/application.js"></script>
		
		<script type="text/javascript" src="resources/language/GBIF.GeoSpatial.config-lang-en.js"></script>
		
<?php
	if (isset($_REQUEST['lang'])) {
		print '<script type="text/javascript" src="resources/language/GBIF.GeoSpatial.admin-lang-' . $_REQUEST['lang'] . '.js"></script>';
	} else {
		print '<script type="text/javascript" src="resources/language/GBIF.GeoSpatial.admin-lang-en.js"></script>';
	}
?>

	</body>
</html>